package com.dhecp.project.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dhecp.project.base.domain.ProductType;
import com.dhecp.project.base.mapper.ProductTypeMapper;
import com.dhecp.project.base.service.ProductTypeService;

@Service("producttype")
public class ProductTypeServiceImpl implements ProductTypeService {
	
	@Autowired
	private ProductTypeMapper productTypeMapper;

	/**
	 * 查询
	 * @param params
	 * @return List-ProductType
	 * @throws Exception
	 */
	@Override
	public List<ProductType> queryList() throws Exception {
		return productTypeMapper.findList();
	}

}
